package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuy
 * @since 2022-01-24
 */
@TableName("bty_dy")
public class BtyDy implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 门店名称
     */
    @TableField("dm")
    private String dm;

    /**
     * 抖音收款金额
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 用友大区编号
     */
    @TableField("bh")
    private String bh;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;

    /**
     * 0失败1成功
     */
    @TableField("flag")
    private Integer flag;

    /**
     * 失败原因
     */
    @TableField("errormsg")
    private String errormsg;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDm() {
        return dm;
    }

    public void setDm(String dm) {
        this.dm = dm;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    @Override
    public String toString() {
        return "BtyDy{" +
        "id=" + id +
        ", dm=" + dm +
        ", amount=" + amount +
        ", bh=" + bh +
        ", state=" + state +
        ", flag=" + flag +
        ", errormsg=" + errormsg +
        "}";
    }
}
